package com.itheima.text2;

public class Demo1 {
    public static void main(String[] args) {

        MyRunnable mr = new MyRunnable();

        Thread t1 = new Thread(mr, "线程一");
        Thread t2 = new Thread(mr, "线程二");

        t1.start();
        t2.start();

        new Thread(mr).start();
        new Thread(mr).start();

    }
}
